import java.io.*;
import java.util.*;

public class  Customer implements Serializable, Comparable<Customer>{

    private static final long serialVersionUID = 1;
    public final int memberID;

    private String name;
    private String address;
    private String city;

    public Customer(int memberID, String name, String address, String city) {
	this.memberID = memberID;
	this.name = name;
	this.address = address;
	this.city = city;
    }

    public int compareTo(Customer other) {
	return (this.memberID - other.memberID);
    }

    public void setName(String input) {
	name = input;
    }
    public void setAddress(String input) {
	address = input;
    }
    public void setCity(String input) {
	city = input;
    }

    public String getName() {
	return name;
    }
    public String getAddress() {
	return address;
    }
    public String getCity() {
	return city;
    }


}